#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
class cla{
	static int n;
public:
	cla() { n++; }
	~cla() { n--; }
	static int get_n() { return n; }
};

int cla::n = 0;

int main() 
{
	cla * p  = new cla;
	delete p;
	std::cout << "n=" << cla::get_n() << std::endl;
	return 0;
}